package gui.mainFrame.testConditionViewer.branchViewer;

import java.util.ArrayList;
import testGenerator.testMethodModel.TestCondition;

/**
 *
 * @author William
 */
class CondColumn
{

    private ArrayList<TestCondition> conds = new ArrayList<TestCondition>();

    void makeUnique()
    {
        ArrayList<TestCondition> uniqueList = new ArrayList<TestCondition>();
        for (TestCondition cond : getConds())
        {
            if (!uniqueList.contains(cond))
            {
                uniqueList.add(cond);
            }
        }
        conds = uniqueList;
    }

    /**
     * @return the conds
     */
    public ArrayList<TestCondition> getConds()
    {
        return conds;
    }
}
